package com.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pojo.Business;
import com.vo.BusinessVo;

import java.util.List;

/**
 * @author tangbo
 */

public interface BusinessDAO extends BaseMapper<Business> {
    IPage<BusinessVo> selectBusiness(Page page, String name);

    List<BusinessVo> selectBusinessList(String name);
}
